<template>
  <el-table :data="listData" border style="width: 100%">
    <el-table-column prop="id" label="信息序号"></el-table-column>
    <el-table-column prop="name" label="用户名"></el-table-column>
    <el-table-column prop="telephone" label="电话号码"></el-table-column>
    <el-table-column prop="age" label="年龄"></el-table-column>
    <el-table-column label="操作">
      <el-button></el-button>
    </el-table-column>
  </el-table>
</template>

<script>
import { reactive } from "@vue/reactivity";
export default {
  setup() {
    let listData = reactive([
      { id: "", name: "", telephone: "", age: "" },
      { id: "", name: "", telephone: "", age: "" },
    ]);
    return { listData };
  },
};
</script>